package cn.exrick.xboot.base.vo

import com.fasterxml.jackson.annotation.JsonFormat
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import lombok.Data
import lombok.EqualsAndHashCode
import lombok.experimental.Accessors
import org.springframework.format.annotation.DateTimeFormat
import java.util.*

@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@ApiModel("监管部门查看公司审核详情实体")
data class EnterpriseUserCheckDetailVo(

        var companyId: String? = null,

        @ApiModelProperty("企业标题信息")
        var enterpriseUserCheckListVo: EnterpriseUserCheckListVo? = null,

        @ApiModelProperty("法定代表人姓名")
        var legalUsername: String? = null,

        @ApiModelProperty("身份证号码")
        var cardNum: String? = null,

        @ApiModelProperty("法定代表人联系方式")
        var legalPhone: String? = null,

        @ApiModelProperty("公司地址")
        var enterpriseAddress: String? = null,

        @ApiModelProperty("公司经营状态")
        var managementForms: String? = null,

        @ApiModelProperty("手持营业执照照片（，分割）")
        var licensePic: List<String>? = null,

        @ApiModelProperty("身份证照片")
        var identityCard: List<String>? = null,

        @ApiModelProperty("审核原因")
        var checkReason: String? = "",

        @ApiModelProperty("审核时间")
        @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        var checkTime: Date? = null,

        @ApiModelProperty("审核状态")
        var checkStatus: Int? = null,

        @ApiModelProperty("审核人")
        var checkUserName: String? = ""
)